import { defineConfig } from 'wxt';
import react from '@vitejs/plugin-react';

// See https://wxt.dev/api/config.html
export default defineConfig({
  vite: () => ({
    plugins: [react()],
  }),
  manifest: {
    permissions: [
      'downloads',
      'activeTab',
      'storage',
      'contextMenus'
    ],
    web_accessible_resources: [
      {
        "resources": [
          "my_file.js",
          "content-scripts/content.js"
        ],
        "matches": [
          "*://*/*"
        ]
      }
    ]
  }
});
